//
//  Common.swift
//  SinaSwift
//
//  Created by Yan on 16/3/8.
//  Copyright © 2016年 baidu. All rights reserved.
//

import UIKit

//App Key：1760811862
//App Secret：3e2ca254fec7704f7dcbb726d65ee6e8
var commonColor = UIColor.orangeColor()
var textColor = UIColor.darkGrayColor()

var URL = "https://api.weibo.com/oauth2/authorize"
var URLToken = "https://api.weibo.com/oauth2/access_token"
var client_id = "1760811862" //AppKey。
var client_secret = "3e2ca254fec7704f7dcbb726d65ee6e8" //AppSecret
var grant_type = "authorization_code"
var code = "cf68b05aa0c187f697d38b763d534872"
var redirect_uri = "http://www.baidu.com"
var URLUser = "https://api.weibo.com/2/users/show.json"
var USERNAME = "document.getElementById('userId').value=550872569@qq.com"
var PASSWD = "document.getElementById('passwd').value=yhp550872569@YHP"
let SwitchRootViewController = "SwitchRootViewController"

let commonMargin: CGFloat = 5
let pictureMargin: CGFloat = 5
let ScreenWidth: CGFloat = UIScreen.mainScreen().bounds.width
let buttonLabelFont = 16
let contentLabelFont = 14
let timeFont = 11
/*
client_id	true	string	申请应用时分配的AppKey。
client_secret	true	string	申请应用时分配的AppSecret。
grant_type	true	string	请求的类型，填写authorization_code

grant_type为authorization_code时
必选	类型及范围	说明
code	true	string	调用authorize获得的code值。
redirect_uri	true	string	回调地址，需需与注册应用里的回调地址一致。
*/
